package com.sinoma.G2project;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;


@EnableCaching
@RefreshScope
@EnableDiscoveryClient
@MapperScan("com.sinoma.G2project.MoYu.Dao.*")
@SpringBootApplication
@EnableConfigurationProperties
public class G2ProjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(G2ProjectApplication.class, args);
    }
}